package com.yyds.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TravelStaff {
//    确诊人员id
    private Integer staff_id;
//    确诊人员出行开始地区
    private String staff_startplace;
//    确诊人员出行结束地区
    private String staff_endplace;
//    关联确诊人员个人信息
    private Integer resident_id;
//    关联确诊人员出行信息
    private Integer way_tid;
    //    关联出行方式信息
    //出行方式
    private String way_travelway;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    //出发时间
    private Date way_starttime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    //到达时间
    private Date way_endtime;
    //关联用户个人信息
    //姓名
    private String resident_name;
    //性别
    private String resident_gender;
    //年龄
    private Integer resident_age;
    //地址
    private String resident_address;
}
